package com.xian.yoga.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CoachExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CoachExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCoachIdIsNull() {
            addCriterion("coach_id is null");
            return (Criteria) this;
        }

        public Criteria andCoachIdIsNotNull() {
            addCriterion("coach_id is not null");
            return (Criteria) this;
        }

        public Criteria andCoachIdEqualTo(Integer value) {
            addCriterion("coach_id =", value, "coachId");
            return (Criteria) this;
        }

        public Criteria andCoachIdNotEqualTo(Integer value) {
            addCriterion("coach_id <>", value, "coachId");
            return (Criteria) this;
        }

        public Criteria andCoachIdGreaterThan(Integer value) {
            addCriterion("coach_id >", value, "coachId");
            return (Criteria) this;
        }

        public Criteria andCoachIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("coach_id >=", value, "coachId");
            return (Criteria) this;
        }

        public Criteria andCoachIdLessThan(Integer value) {
            addCriterion("coach_id <", value, "coachId");
            return (Criteria) this;
        }

        public Criteria andCoachIdLessThanOrEqualTo(Integer value) {
            addCriterion("coach_id <=", value, "coachId");
            return (Criteria) this;
        }

        public Criteria andCoachIdIn(List<Integer> values) {
            addCriterion("coach_id in", values, "coachId");
            return (Criteria) this;
        }

        public Criteria andCoachIdNotIn(List<Integer> values) {
            addCriterion("coach_id not in", values, "coachId");
            return (Criteria) this;
        }

        public Criteria andCoachIdBetween(Integer value1, Integer value2) {
            addCriterion("coach_id between", value1, value2, "coachId");
            return (Criteria) this;
        }

        public Criteria andCoachIdNotBetween(Integer value1, Integer value2) {
            addCriterion("coach_id not between", value1, value2, "coachId");
            return (Criteria) this;
        }

        public Criteria andStudioIdIsNull() {
            addCriterion("studio_id is null");
            return (Criteria) this;
        }

        public Criteria andStudioIdIsNotNull() {
            addCriterion("studio_id is not null");
            return (Criteria) this;
        }

        public Criteria andStudioIdEqualTo(Integer value) {
            addCriterion("studio_id =", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdNotEqualTo(Integer value) {
            addCriterion("studio_id <>", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdGreaterThan(Integer value) {
            addCriterion("studio_id >", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("studio_id >=", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdLessThan(Integer value) {
            addCriterion("studio_id <", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdLessThanOrEqualTo(Integer value) {
            addCriterion("studio_id <=", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdIn(List<Integer> values) {
            addCriterion("studio_id in", values, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdNotIn(List<Integer> values) {
            addCriterion("studio_id not in", values, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdBetween(Integer value1, Integer value2) {
            addCriterion("studio_id between", value1, value2, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdNotBetween(Integer value1, Integer value2) {
            addCriterion("studio_id not between", value1, value2, "studioId");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNull() {
            addCriterion("contract_id is null");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNotNull() {
            addCriterion("contract_id is not null");
            return (Criteria) this;
        }

        public Criteria andContractIdEqualTo(Integer value) {
            addCriterion("contract_id =", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotEqualTo(Integer value) {
            addCriterion("contract_id <>", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThan(Integer value) {
            addCriterion("contract_id >", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("contract_id >=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThan(Integer value) {
            addCriterion("contract_id <", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThanOrEqualTo(Integer value) {
            addCriterion("contract_id <=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdIn(List<Integer> values) {
            addCriterion("contract_id in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotIn(List<Integer> values) {
            addCriterion("contract_id not in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdBetween(Integer value1, Integer value2) {
            addCriterion("contract_id between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotBetween(Integer value1, Integer value2) {
            addCriterion("contract_id not between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andUsersIdIsNull() {
            addCriterion("users_id is null");
            return (Criteria) this;
        }

        public Criteria andUsersIdIsNotNull() {
            addCriterion("users_id is not null");
            return (Criteria) this;
        }

        public Criteria andUsersIdEqualTo(Integer value) {
            addCriterion("users_id =", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdNotEqualTo(Integer value) {
            addCriterion("users_id <>", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdGreaterThan(Integer value) {
            addCriterion("users_id >", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("users_id >=", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdLessThan(Integer value) {
            addCriterion("users_id <", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdLessThanOrEqualTo(Integer value) {
            addCriterion("users_id <=", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdIn(List<Integer> values) {
            addCriterion("users_id in", values, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdNotIn(List<Integer> values) {
            addCriterion("users_id not in", values, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdBetween(Integer value1, Integer value2) {
            addCriterion("users_id between", value1, value2, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdNotBetween(Integer value1, Integer value2) {
            addCriterion("users_id not between", value1, value2, "usersId");
            return (Criteria) this;
        }

        public Criteria andCoachNameIsNull() {
            addCriterion("coach_name is null");
            return (Criteria) this;
        }

        public Criteria andCoachNameIsNotNull() {
            addCriterion("coach_name is not null");
            return (Criteria) this;
        }

        public Criteria andCoachNameEqualTo(String value) {
            addCriterion("coach_name =", value, "coachName");
            return (Criteria) this;
        }

        public Criteria andCoachNameNotEqualTo(String value) {
            addCriterion("coach_name <>", value, "coachName");
            return (Criteria) this;
        }

        public Criteria andCoachNameGreaterThan(String value) {
            addCriterion("coach_name >", value, "coachName");
            return (Criteria) this;
        }

        public Criteria andCoachNameGreaterThanOrEqualTo(String value) {
            addCriterion("coach_name >=", value, "coachName");
            return (Criteria) this;
        }

        public Criteria andCoachNameLessThan(String value) {
            addCriterion("coach_name <", value, "coachName");
            return (Criteria) this;
        }

        public Criteria andCoachNameLessThanOrEqualTo(String value) {
            addCriterion("coach_name <=", value, "coachName");
            return (Criteria) this;
        }

        public Criteria andCoachNameLike(String value) {
            addCriterion("coach_name like", value, "coachName");
            return (Criteria) this;
        }

        public Criteria andCoachNameNotLike(String value) {
            addCriterion("coach_name not like", value, "coachName");
            return (Criteria) this;
        }

        public Criteria andCoachNameIn(List<String> values) {
            addCriterion("coach_name in", values, "coachName");
            return (Criteria) this;
        }

        public Criteria andCoachNameNotIn(List<String> values) {
            addCriterion("coach_name not in", values, "coachName");
            return (Criteria) this;
        }

        public Criteria andCoachNameBetween(String value1, String value2) {
            addCriterion("coach_name between", value1, value2, "coachName");
            return (Criteria) this;
        }

        public Criteria andCoachNameNotBetween(String value1, String value2) {
            addCriterion("coach_name not between", value1, value2, "coachName");
            return (Criteria) this;
        }

        public Criteria andCoachSexIsNull() {
            addCriterion("coach_sex is null");
            return (Criteria) this;
        }

        public Criteria andCoachSexIsNotNull() {
            addCriterion("coach_sex is not null");
            return (Criteria) this;
        }

        public Criteria andCoachSexEqualTo(String value) {
            addCriterion("coach_sex =", value, "coachSex");
            return (Criteria) this;
        }

        public Criteria andCoachSexNotEqualTo(String value) {
            addCriterion("coach_sex <>", value, "coachSex");
            return (Criteria) this;
        }

        public Criteria andCoachSexGreaterThan(String value) {
            addCriterion("coach_sex >", value, "coachSex");
            return (Criteria) this;
        }

        public Criteria andCoachSexGreaterThanOrEqualTo(String value) {
            addCriterion("coach_sex >=", value, "coachSex");
            return (Criteria) this;
        }

        public Criteria andCoachSexLessThan(String value) {
            addCriterion("coach_sex <", value, "coachSex");
            return (Criteria) this;
        }

        public Criteria andCoachSexLessThanOrEqualTo(String value) {
            addCriterion("coach_sex <=", value, "coachSex");
            return (Criteria) this;
        }

        public Criteria andCoachSexLike(String value) {
            addCriterion("coach_sex like", value, "coachSex");
            return (Criteria) this;
        }

        public Criteria andCoachSexNotLike(String value) {
            addCriterion("coach_sex not like", value, "coachSex");
            return (Criteria) this;
        }

        public Criteria andCoachSexIn(List<String> values) {
            addCriterion("coach_sex in", values, "coachSex");
            return (Criteria) this;
        }

        public Criteria andCoachSexNotIn(List<String> values) {
            addCriterion("coach_sex not in", values, "coachSex");
            return (Criteria) this;
        }

        public Criteria andCoachSexBetween(String value1, String value2) {
            addCriterion("coach_sex between", value1, value2, "coachSex");
            return (Criteria) this;
        }

        public Criteria andCoachSexNotBetween(String value1, String value2) {
            addCriterion("coach_sex not between", value1, value2, "coachSex");
            return (Criteria) this;
        }

        public Criteria andCoachBirthdayIsNull() {
            addCriterion("coach_birthday is null");
            return (Criteria) this;
        }

        public Criteria andCoachBirthdayIsNotNull() {
            addCriterion("coach_birthday is not null");
            return (Criteria) this;
        }

        public Criteria andCoachBirthdayEqualTo(Date value) {
            addCriterion("coach_birthday =", value, "coachBirthday");
            return (Criteria) this;
        }

        public Criteria andCoachBirthdayNotEqualTo(Date value) {
            addCriterion("coach_birthday <>", value, "coachBirthday");
            return (Criteria) this;
        }

        public Criteria andCoachBirthdayGreaterThan(Date value) {
            addCriterion("coach_birthday >", value, "coachBirthday");
            return (Criteria) this;
        }

        public Criteria andCoachBirthdayGreaterThanOrEqualTo(Date value) {
            addCriterion("coach_birthday >=", value, "coachBirthday");
            return (Criteria) this;
        }

        public Criteria andCoachBirthdayLessThan(Date value) {
            addCriterion("coach_birthday <", value, "coachBirthday");
            return (Criteria) this;
        }

        public Criteria andCoachBirthdayLessThanOrEqualTo(Date value) {
            addCriterion("coach_birthday <=", value, "coachBirthday");
            return (Criteria) this;
        }

        public Criteria andCoachBirthdayIn(List<Date> values) {
            addCriterion("coach_birthday in", values, "coachBirthday");
            return (Criteria) this;
        }

        public Criteria andCoachBirthdayNotIn(List<Date> values) {
            addCriterion("coach_birthday not in", values, "coachBirthday");
            return (Criteria) this;
        }

        public Criteria andCoachBirthdayBetween(Date value1, Date value2) {
            addCriterion("coach_birthday between", value1, value2, "coachBirthday");
            return (Criteria) this;
        }

        public Criteria andCoachBirthdayNotBetween(Date value1, Date value2) {
            addCriterion("coach_birthday not between", value1, value2, "coachBirthday");
            return (Criteria) this;
        }

        public Criteria andCoachMajorIsNull() {
            addCriterion("coach_major is null");
            return (Criteria) this;
        }

        public Criteria andCoachMajorIsNotNull() {
            addCriterion("coach_major is not null");
            return (Criteria) this;
        }

        public Criteria andCoachMajorEqualTo(String value) {
            addCriterion("coach_major =", value, "coachMajor");
            return (Criteria) this;
        }

        public Criteria andCoachMajorNotEqualTo(String value) {
            addCriterion("coach_major <>", value, "coachMajor");
            return (Criteria) this;
        }

        public Criteria andCoachMajorGreaterThan(String value) {
            addCriterion("coach_major >", value, "coachMajor");
            return (Criteria) this;
        }

        public Criteria andCoachMajorGreaterThanOrEqualTo(String value) {
            addCriterion("coach_major >=", value, "coachMajor");
            return (Criteria) this;
        }

        public Criteria andCoachMajorLessThan(String value) {
            addCriterion("coach_major <", value, "coachMajor");
            return (Criteria) this;
        }

        public Criteria andCoachMajorLessThanOrEqualTo(String value) {
            addCriterion("coach_major <=", value, "coachMajor");
            return (Criteria) this;
        }

        public Criteria andCoachMajorLike(String value) {
            addCriterion("coach_major like", value, "coachMajor");
            return (Criteria) this;
        }

        public Criteria andCoachMajorNotLike(String value) {
            addCriterion("coach_major not like", value, "coachMajor");
            return (Criteria) this;
        }

        public Criteria andCoachMajorIn(List<String> values) {
            addCriterion("coach_major in", values, "coachMajor");
            return (Criteria) this;
        }

        public Criteria andCoachMajorNotIn(List<String> values) {
            addCriterion("coach_major not in", values, "coachMajor");
            return (Criteria) this;
        }

        public Criteria andCoachMajorBetween(String value1, String value2) {
            addCriterion("coach_major between", value1, value2, "coachMajor");
            return (Criteria) this;
        }

        public Criteria andCoachMajorNotBetween(String value1, String value2) {
            addCriterion("coach_major not between", value1, value2, "coachMajor");
            return (Criteria) this;
        }

        public Criteria andCoachHourwageIsNull() {
            addCriterion("coach_hourwage is null");
            return (Criteria) this;
        }

        public Criteria andCoachHourwageIsNotNull() {
            addCriterion("coach_hourwage is not null");
            return (Criteria) this;
        }

        public Criteria andCoachHourwageEqualTo(BigDecimal value) {
            addCriterion("coach_hourwage =", value, "coachHourwage");
            return (Criteria) this;
        }

        public Criteria andCoachHourwageNotEqualTo(BigDecimal value) {
            addCriterion("coach_hourwage <>", value, "coachHourwage");
            return (Criteria) this;
        }

        public Criteria andCoachHourwageGreaterThan(BigDecimal value) {
            addCriterion("coach_hourwage >", value, "coachHourwage");
            return (Criteria) this;
        }

        public Criteria andCoachHourwageGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("coach_hourwage >=", value, "coachHourwage");
            return (Criteria) this;
        }

        public Criteria andCoachHourwageLessThan(BigDecimal value) {
            addCriterion("coach_hourwage <", value, "coachHourwage");
            return (Criteria) this;
        }

        public Criteria andCoachHourwageLessThanOrEqualTo(BigDecimal value) {
            addCriterion("coach_hourwage <=", value, "coachHourwage");
            return (Criteria) this;
        }

        public Criteria andCoachHourwageIn(List<BigDecimal> values) {
            addCriterion("coach_hourwage in", values, "coachHourwage");
            return (Criteria) this;
        }

        public Criteria andCoachHourwageNotIn(List<BigDecimal> values) {
            addCriterion("coach_hourwage not in", values, "coachHourwage");
            return (Criteria) this;
        }

        public Criteria andCoachHourwageBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("coach_hourwage between", value1, value2, "coachHourwage");
            return (Criteria) this;
        }

        public Criteria andCoachHourwageNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("coach_hourwage not between", value1, value2, "coachHourwage");
            return (Criteria) this;
        }

        public Criteria andCoachImgIsNull() {
            addCriterion("coach_img is null");
            return (Criteria) this;
        }

        public Criteria andCoachImgIsNotNull() {
            addCriterion("coach_img is not null");
            return (Criteria) this;
        }

        public Criteria andCoachImgEqualTo(String value) {
            addCriterion("coach_img =", value, "coachImg");
            return (Criteria) this;
        }

        public Criteria andCoachImgNotEqualTo(String value) {
            addCriterion("coach_img <>", value, "coachImg");
            return (Criteria) this;
        }

        public Criteria andCoachImgGreaterThan(String value) {
            addCriterion("coach_img >", value, "coachImg");
            return (Criteria) this;
        }

        public Criteria andCoachImgGreaterThanOrEqualTo(String value) {
            addCriterion("coach_img >=", value, "coachImg");
            return (Criteria) this;
        }

        public Criteria andCoachImgLessThan(String value) {
            addCriterion("coach_img <", value, "coachImg");
            return (Criteria) this;
        }

        public Criteria andCoachImgLessThanOrEqualTo(String value) {
            addCriterion("coach_img <=", value, "coachImg");
            return (Criteria) this;
        }

        public Criteria andCoachImgLike(String value) {
            addCriterion("coach_img like", value, "coachImg");
            return (Criteria) this;
        }

        public Criteria andCoachImgNotLike(String value) {
            addCriterion("coach_img not like", value, "coachImg");
            return (Criteria) this;
        }

        public Criteria andCoachImgIn(List<String> values) {
            addCriterion("coach_img in", values, "coachImg");
            return (Criteria) this;
        }

        public Criteria andCoachImgNotIn(List<String> values) {
            addCriterion("coach_img not in", values, "coachImg");
            return (Criteria) this;
        }

        public Criteria andCoachImgBetween(String value1, String value2) {
            addCriterion("coach_img between", value1, value2, "coachImg");
            return (Criteria) this;
        }

        public Criteria andCoachImgNotBetween(String value1, String value2) {
            addCriterion("coach_img not between", value1, value2, "coachImg");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeIsNull() {
            addCriterion("coach_longitude is null");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeIsNotNull() {
            addCriterion("coach_longitude is not null");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeEqualTo(String value) {
            addCriterion("coach_longitude =", value, "coachLongitude");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeNotEqualTo(String value) {
            addCriterion("coach_longitude <>", value, "coachLongitude");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeGreaterThan(String value) {
            addCriterion("coach_longitude >", value, "coachLongitude");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeGreaterThanOrEqualTo(String value) {
            addCriterion("coach_longitude >=", value, "coachLongitude");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeLessThan(String value) {
            addCriterion("coach_longitude <", value, "coachLongitude");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeLessThanOrEqualTo(String value) {
            addCriterion("coach_longitude <=", value, "coachLongitude");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeLike(String value) {
            addCriterion("coach_longitude like", value, "coachLongitude");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeNotLike(String value) {
            addCriterion("coach_longitude not like", value, "coachLongitude");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeIn(List<String> values) {
            addCriterion("coach_longitude in", values, "coachLongitude");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeNotIn(List<String> values) {
            addCriterion("coach_longitude not in", values, "coachLongitude");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeBetween(String value1, String value2) {
            addCriterion("coach_longitude between", value1, value2, "coachLongitude");
            return (Criteria) this;
        }

        public Criteria andCoachLongitudeNotBetween(String value1, String value2) {
            addCriterion("coach_longitude not between", value1, value2, "coachLongitude");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeIsNull() {
            addCriterion("coach_latitude is null");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeIsNotNull() {
            addCriterion("coach_latitude is not null");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeEqualTo(String value) {
            addCriterion("coach_latitude =", value, "coachLatitude");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeNotEqualTo(String value) {
            addCriterion("coach_latitude <>", value, "coachLatitude");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeGreaterThan(String value) {
            addCriterion("coach_latitude >", value, "coachLatitude");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeGreaterThanOrEqualTo(String value) {
            addCriterion("coach_latitude >=", value, "coachLatitude");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeLessThan(String value) {
            addCriterion("coach_latitude <", value, "coachLatitude");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeLessThanOrEqualTo(String value) {
            addCriterion("coach_latitude <=", value, "coachLatitude");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeLike(String value) {
            addCriterion("coach_latitude like", value, "coachLatitude");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeNotLike(String value) {
            addCriterion("coach_latitude not like", value, "coachLatitude");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeIn(List<String> values) {
            addCriterion("coach_latitude in", values, "coachLatitude");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeNotIn(List<String> values) {
            addCriterion("coach_latitude not in", values, "coachLatitude");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeBetween(String value1, String value2) {
            addCriterion("coach_latitude between", value1, value2, "coachLatitude");
            return (Criteria) this;
        }

        public Criteria andCoachLatitudeNotBetween(String value1, String value2) {
            addCriterion("coach_latitude not between", value1, value2, "coachLatitude");
            return (Criteria) this;
        }

        public Criteria andCoachViceIsNull() {
            addCriterion("coach_vice is null");
            return (Criteria) this;
        }

        public Criteria andCoachViceIsNotNull() {
            addCriterion("coach_vice is not null");
            return (Criteria) this;
        }

        public Criteria andCoachViceEqualTo(String value) {
            addCriterion("coach_vice =", value, "coachVice");
            return (Criteria) this;
        }

        public Criteria andCoachViceNotEqualTo(String value) {
            addCriterion("coach_vice <>", value, "coachVice");
            return (Criteria) this;
        }

        public Criteria andCoachViceGreaterThan(String value) {
            addCriterion("coach_vice >", value, "coachVice");
            return (Criteria) this;
        }

        public Criteria andCoachViceGreaterThanOrEqualTo(String value) {
            addCriterion("coach_vice >=", value, "coachVice");
            return (Criteria) this;
        }

        public Criteria andCoachViceLessThan(String value) {
            addCriterion("coach_vice <", value, "coachVice");
            return (Criteria) this;
        }

        public Criteria andCoachViceLessThanOrEqualTo(String value) {
            addCriterion("coach_vice <=", value, "coachVice");
            return (Criteria) this;
        }

        public Criteria andCoachViceLike(String value) {
            addCriterion("coach_vice like", value, "coachVice");
            return (Criteria) this;
        }

        public Criteria andCoachViceNotLike(String value) {
            addCriterion("coach_vice not like", value, "coachVice");
            return (Criteria) this;
        }

        public Criteria andCoachViceIn(List<String> values) {
            addCriterion("coach_vice in", values, "coachVice");
            return (Criteria) this;
        }

        public Criteria andCoachViceNotIn(List<String> values) {
            addCriterion("coach_vice not in", values, "coachVice");
            return (Criteria) this;
        }

        public Criteria andCoachViceBetween(String value1, String value2) {
            addCriterion("coach_vice between", value1, value2, "coachVice");
            return (Criteria) this;
        }

        public Criteria andCoachViceNotBetween(String value1, String value2) {
            addCriterion("coach_vice not between", value1, value2, "coachVice");
            return (Criteria) this;
        }

        public Criteria andCoachCityIsNull() {
            addCriterion("coach_city is null");
            return (Criteria) this;
        }

        public Criteria andCoachCityIsNotNull() {
            addCriterion("coach_city is not null");
            return (Criteria) this;
        }

        public Criteria andCoachCityEqualTo(String value) {
            addCriterion("coach_city =", value, "coachCity");
            return (Criteria) this;
        }

        public Criteria andCoachCityNotEqualTo(String value) {
            addCriterion("coach_city <>", value, "coachCity");
            return (Criteria) this;
        }

        public Criteria andCoachCityGreaterThan(String value) {
            addCriterion("coach_city >", value, "coachCity");
            return (Criteria) this;
        }

        public Criteria andCoachCityGreaterThanOrEqualTo(String value) {
            addCriterion("coach_city >=", value, "coachCity");
            return (Criteria) this;
        }

        public Criteria andCoachCityLessThan(String value) {
            addCriterion("coach_city <", value, "coachCity");
            return (Criteria) this;
        }

        public Criteria andCoachCityLessThanOrEqualTo(String value) {
            addCriterion("coach_city <=", value, "coachCity");
            return (Criteria) this;
        }

        public Criteria andCoachCityLike(String value) {
            addCriterion("coach_city like", value, "coachCity");
            return (Criteria) this;
        }

        public Criteria andCoachCityNotLike(String value) {
            addCriterion("coach_city not like", value, "coachCity");
            return (Criteria) this;
        }

        public Criteria andCoachCityIn(List<String> values) {
            addCriterion("coach_city in", values, "coachCity");
            return (Criteria) this;
        }

        public Criteria andCoachCityNotIn(List<String> values) {
            addCriterion("coach_city not in", values, "coachCity");
            return (Criteria) this;
        }

        public Criteria andCoachCityBetween(String value1, String value2) {
            addCriterion("coach_city between", value1, value2, "coachCity");
            return (Criteria) this;
        }

        public Criteria andCoachCityNotBetween(String value1, String value2) {
            addCriterion("coach_city not between", value1, value2, "coachCity");
            return (Criteria) this;
        }

        public Criteria andCoachAreaIsNull() {
            addCriterion("coach_area is null");
            return (Criteria) this;
        }

        public Criteria andCoachAreaIsNotNull() {
            addCriterion("coach_area is not null");
            return (Criteria) this;
        }

        public Criteria andCoachAreaEqualTo(String value) {
            addCriterion("coach_area =", value, "coachArea");
            return (Criteria) this;
        }

        public Criteria andCoachAreaNotEqualTo(String value) {
            addCriterion("coach_area <>", value, "coachArea");
            return (Criteria) this;
        }

        public Criteria andCoachAreaGreaterThan(String value) {
            addCriterion("coach_area >", value, "coachArea");
            return (Criteria) this;
        }

        public Criteria andCoachAreaGreaterThanOrEqualTo(String value) {
            addCriterion("coach_area >=", value, "coachArea");
            return (Criteria) this;
        }

        public Criteria andCoachAreaLessThan(String value) {
            addCriterion("coach_area <", value, "coachArea");
            return (Criteria) this;
        }

        public Criteria andCoachAreaLessThanOrEqualTo(String value) {
            addCriterion("coach_area <=", value, "coachArea");
            return (Criteria) this;
        }

        public Criteria andCoachAreaLike(String value) {
            addCriterion("coach_area like", value, "coachArea");
            return (Criteria) this;
        }

        public Criteria andCoachAreaNotLike(String value) {
            addCriterion("coach_area not like", value, "coachArea");
            return (Criteria) this;
        }

        public Criteria andCoachAreaIn(List<String> values) {
            addCriterion("coach_area in", values, "coachArea");
            return (Criteria) this;
        }

        public Criteria andCoachAreaNotIn(List<String> values) {
            addCriterion("coach_area not in", values, "coachArea");
            return (Criteria) this;
        }

        public Criteria andCoachAreaBetween(String value1, String value2) {
            addCriterion("coach_area between", value1, value2, "coachArea");
            return (Criteria) this;
        }

        public Criteria andCoachAreaNotBetween(String value1, String value2) {
            addCriterion("coach_area not between", value1, value2, "coachArea");
            return (Criteria) this;
        }

        public Criteria andCoachCardIsNull() {
            addCriterion("coach_card is null");
            return (Criteria) this;
        }

        public Criteria andCoachCardIsNotNull() {
            addCriterion("coach_card is not null");
            return (Criteria) this;
        }

        public Criteria andCoachCardEqualTo(String value) {
            addCriterion("coach_card =", value, "coachCard");
            return (Criteria) this;
        }

        public Criteria andCoachCardNotEqualTo(String value) {
            addCriterion("coach_card <>", value, "coachCard");
            return (Criteria) this;
        }

        public Criteria andCoachCardGreaterThan(String value) {
            addCriterion("coach_card >", value, "coachCard");
            return (Criteria) this;
        }

        public Criteria andCoachCardGreaterThanOrEqualTo(String value) {
            addCriterion("coach_card >=", value, "coachCard");
            return (Criteria) this;
        }

        public Criteria andCoachCardLessThan(String value) {
            addCriterion("coach_card <", value, "coachCard");
            return (Criteria) this;
        }

        public Criteria andCoachCardLessThanOrEqualTo(String value) {
            addCriterion("coach_card <=", value, "coachCard");
            return (Criteria) this;
        }

        public Criteria andCoachCardLike(String value) {
            addCriterion("coach_card like", value, "coachCard");
            return (Criteria) this;
        }

        public Criteria andCoachCardNotLike(String value) {
            addCriterion("coach_card not like", value, "coachCard");
            return (Criteria) this;
        }

        public Criteria andCoachCardIn(List<String> values) {
            addCriterion("coach_card in", values, "coachCard");
            return (Criteria) this;
        }

        public Criteria andCoachCardNotIn(List<String> values) {
            addCriterion("coach_card not in", values, "coachCard");
            return (Criteria) this;
        }

        public Criteria andCoachCardBetween(String value1, String value2) {
            addCriterion("coach_card between", value1, value2, "coachCard");
            return (Criteria) this;
        }

        public Criteria andCoachCardNotBetween(String value1, String value2) {
            addCriterion("coach_card not between", value1, value2, "coachCard");
            return (Criteria) this;
        }

        public Criteria andCoachRegdateIsNull() {
            addCriterion("coach_regdate is null");
            return (Criteria) this;
        }

        public Criteria andCoachRegdateIsNotNull() {
            addCriterion("coach_regdate is not null");
            return (Criteria) this;
        }

        public Criteria andCoachRegdateEqualTo(Date value) {
            addCriterion("coach_regdate =", value, "coachRegdate");
            return (Criteria) this;
        }

        public Criteria andCoachRegdateNotEqualTo(Date value) {
            addCriterion("coach_regdate <>", value, "coachRegdate");
            return (Criteria) this;
        }

        public Criteria andCoachRegdateGreaterThan(Date value) {
            addCriterion("coach_regdate >", value, "coachRegdate");
            return (Criteria) this;
        }

        public Criteria andCoachRegdateGreaterThanOrEqualTo(Date value) {
            addCriterion("coach_regdate >=", value, "coachRegdate");
            return (Criteria) this;
        }

        public Criteria andCoachRegdateLessThan(Date value) {
            addCriterion("coach_regdate <", value, "coachRegdate");
            return (Criteria) this;
        }

        public Criteria andCoachRegdateLessThanOrEqualTo(Date value) {
            addCriterion("coach_regdate <=", value, "coachRegdate");
            return (Criteria) this;
        }

        public Criteria andCoachRegdateIn(List<Date> values) {
            addCriterion("coach_regdate in", values, "coachRegdate");
            return (Criteria) this;
        }

        public Criteria andCoachRegdateNotIn(List<Date> values) {
            addCriterion("coach_regdate not in", values, "coachRegdate");
            return (Criteria) this;
        }

        public Criteria andCoachRegdateBetween(Date value1, Date value2) {
            addCriterion("coach_regdate between", value1, value2, "coachRegdate");
            return (Criteria) this;
        }

        public Criteria andCoachRegdateNotBetween(Date value1, Date value2) {
            addCriterion("coach_regdate not between", value1, value2, "coachRegdate");
            return (Criteria) this;
        }

        public Criteria andCoachPositiveIsNull() {
            addCriterion("coach_positive is null");
            return (Criteria) this;
        }

        public Criteria andCoachPositiveIsNotNull() {
            addCriterion("coach_positive is not null");
            return (Criteria) this;
        }

        public Criteria andCoachPositiveEqualTo(Integer value) {
            addCriterion("coach_positive =", value, "coachPositive");
            return (Criteria) this;
        }

        public Criteria andCoachPositiveNotEqualTo(Integer value) {
            addCriterion("coach_positive <>", value, "coachPositive");
            return (Criteria) this;
        }

        public Criteria andCoachPositiveGreaterThan(Integer value) {
            addCriterion("coach_positive >", value, "coachPositive");
            return (Criteria) this;
        }

        public Criteria andCoachPositiveGreaterThanOrEqualTo(Integer value) {
            addCriterion("coach_positive >=", value, "coachPositive");
            return (Criteria) this;
        }

        public Criteria andCoachPositiveLessThan(Integer value) {
            addCriterion("coach_positive <", value, "coachPositive");
            return (Criteria) this;
        }

        public Criteria andCoachPositiveLessThanOrEqualTo(Integer value) {
            addCriterion("coach_positive <=", value, "coachPositive");
            return (Criteria) this;
        }

        public Criteria andCoachPositiveIn(List<Integer> values) {
            addCriterion("coach_positive in", values, "coachPositive");
            return (Criteria) this;
        }

        public Criteria andCoachPositiveNotIn(List<Integer> values) {
            addCriterion("coach_positive not in", values, "coachPositive");
            return (Criteria) this;
        }

        public Criteria andCoachPositiveBetween(Integer value1, Integer value2) {
            addCriterion("coach_positive between", value1, value2, "coachPositive");
            return (Criteria) this;
        }

        public Criteria andCoachPositiveNotBetween(Integer value1, Integer value2) {
            addCriterion("coach_positive not between", value1, value2, "coachPositive");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenIsNull() {
            addCriterion("coach_isopen is null");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenIsNotNull() {
            addCriterion("coach_isopen is not null");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenEqualTo(String value) {
            addCriterion("coach_isopen =", value, "coachIsopen");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenNotEqualTo(String value) {
            addCriterion("coach_isopen <>", value, "coachIsopen");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenGreaterThan(String value) {
            addCriterion("coach_isopen >", value, "coachIsopen");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenGreaterThanOrEqualTo(String value) {
            addCriterion("coach_isopen >=", value, "coachIsopen");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenLessThan(String value) {
            addCriterion("coach_isopen <", value, "coachIsopen");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenLessThanOrEqualTo(String value) {
            addCriterion("coach_isopen <=", value, "coachIsopen");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenLike(String value) {
            addCriterion("coach_isopen like", value, "coachIsopen");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenNotLike(String value) {
            addCriterion("coach_isopen not like", value, "coachIsopen");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenIn(List<String> values) {
            addCriterion("coach_isopen in", values, "coachIsopen");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenNotIn(List<String> values) {
            addCriterion("coach_isopen not in", values, "coachIsopen");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenBetween(String value1, String value2) {
            addCriterion("coach_isopen between", value1, value2, "coachIsopen");
            return (Criteria) this;
        }

        public Criteria andCoachIsopenNotBetween(String value1, String value2) {
            addCriterion("coach_isopen not between", value1, value2, "coachIsopen");
            return (Criteria) this;
        }

        public Criteria andCoachStatusIsNull() {
            addCriterion("coach_status is null");
            return (Criteria) this;
        }

        public Criteria andCoachStatusIsNotNull() {
            addCriterion("coach_status is not null");
            return (Criteria) this;
        }

        public Criteria andCoachStatusEqualTo(String value) {
            addCriterion("coach_status =", value, "coachStatus");
            return (Criteria) this;
        }

        public Criteria andCoachStatusNotEqualTo(String value) {
            addCriterion("coach_status <>", value, "coachStatus");
            return (Criteria) this;
        }

        public Criteria andCoachStatusGreaterThan(String value) {
            addCriterion("coach_status >", value, "coachStatus");
            return (Criteria) this;
        }

        public Criteria andCoachStatusGreaterThanOrEqualTo(String value) {
            addCriterion("coach_status >=", value, "coachStatus");
            return (Criteria) this;
        }

        public Criteria andCoachStatusLessThan(String value) {
            addCriterion("coach_status <", value, "coachStatus");
            return (Criteria) this;
        }

        public Criteria andCoachStatusLessThanOrEqualTo(String value) {
            addCriterion("coach_status <=", value, "coachStatus");
            return (Criteria) this;
        }

        public Criteria andCoachStatusLike(String value) {
            addCriterion("coach_status like", value, "coachStatus");
            return (Criteria) this;
        }

        public Criteria andCoachStatusNotLike(String value) {
            addCriterion("coach_status not like", value, "coachStatus");
            return (Criteria) this;
        }

        public Criteria andCoachStatusIn(List<String> values) {
            addCriterion("coach_status in", values, "coachStatus");
            return (Criteria) this;
        }

        public Criteria andCoachStatusNotIn(List<String> values) {
            addCriterion("coach_status not in", values, "coachStatus");
            return (Criteria) this;
        }

        public Criteria andCoachStatusBetween(String value1, String value2) {
            addCriterion("coach_status between", value1, value2, "coachStatus");
            return (Criteria) this;
        }

        public Criteria andCoachStatusNotBetween(String value1, String value2) {
            addCriterion("coach_status not between", value1, value2, "coachStatus");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagIsNull() {
            addCriterion("coach_showflag is null");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagIsNotNull() {
            addCriterion("coach_showflag is not null");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagEqualTo(String value) {
            addCriterion("coach_showflag =", value, "coachShowflag");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagNotEqualTo(String value) {
            addCriterion("coach_showflag <>", value, "coachShowflag");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagGreaterThan(String value) {
            addCriterion("coach_showflag >", value, "coachShowflag");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagGreaterThanOrEqualTo(String value) {
            addCriterion("coach_showflag >=", value, "coachShowflag");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagLessThan(String value) {
            addCriterion("coach_showflag <", value, "coachShowflag");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagLessThanOrEqualTo(String value) {
            addCriterion("coach_showflag <=", value, "coachShowflag");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagLike(String value) {
            addCriterion("coach_showflag like", value, "coachShowflag");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagNotLike(String value) {
            addCriterion("coach_showflag not like", value, "coachShowflag");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagIn(List<String> values) {
            addCriterion("coach_showflag in", values, "coachShowflag");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagNotIn(List<String> values) {
            addCriterion("coach_showflag not in", values, "coachShowflag");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagBetween(String value1, String value2) {
            addCriterion("coach_showflag between", value1, value2, "coachShowflag");
            return (Criteria) this;
        }

        public Criteria andCoachShowflagNotBetween(String value1, String value2) {
            addCriterion("coach_showflag not between", value1, value2, "coachShowflag");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}